/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package koor.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 *
 * @author Admin
 */
@Entity
@Table(name = "text")
public class Text extends AbstractEntity{
    
    @Column(name = "file_path")
    private String filePath;
    
    @Column(name = "format")
    private String format;

    public Text() {
    }

    public Text(String filePath, String format) {
        this.filePath = filePath;
        this.format = format;
    }

    public Text(String filePath, String format, int id) {
        super(id);
        this.filePath = filePath;
        this.format = format;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }
    
}
